home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HITables.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
39KB
|
1,349 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HITables.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
#ifndef SOM_HITable_xh
#define SOM_HITable_xh
class HITable;
#define HITable_MajorVersion 0
#define HITable_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <HILists.xh>
#include <HITableTypes.h>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIPanel_xh
#include <HIPanels.xh>
#endif
#ifndef HITable_API
#define HITable_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HITableCClassData HITableClassData
#define HITableNewClass(major,minor) somNewVersionedClassReference(HITable,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HITableMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HITable class object, and the methods it introduces. */
SOMEXTERN struct HITableClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitTable;
somMToken AddRows;
somMToken AddColumns;
somMToken DeleteRow;
somMToken DeleteColumn;
somMToken GetExtent;
somMToken SetItemImage;
somMToken GetItemImage;
somMToken SetItemEnabledState;
somMToken GetItemEnabledState;
somMToken SetItemSelectedState;
somMToken GetItemSelectedState;
somMToken GetSelectedItems;
somMToken AddItemCollectionItem;
somMToken GetItemCollectionItemData;
somMToken RemoveItemCollectionItem;
somMToken HitTest;
somMToken GetItemRect;
somMToken NewItemStorage;
somMToken DisposeItemStorage;
} SOMDLINK HITableClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HITable_Class_Source) && !defined(SOM_Module_hitables_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HITableClassData
#endif
#endif
/*
* -- Typedefs for HITable Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HITable_InitTable)(HITable *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage);
typedef OSStatus (* SOMLINK somTD_HITable_AddRows)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
UInt32 numItems);
typedef OSStatus (* SOMLINK somTD_HITable_AddColumns)(HITable *somSelf, Environment *ev,
HIItemIndex columnIndex,
UInt32 numItems);
typedef OSStatus (* SOMLINK somTD_HITable_DeleteRow)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex);
typedef OSStatus (* SOMLINK somTD_HITable_DeleteColumn)(HITable *somSelf, Environment *ev,
HIItemIndex columnIndex);
typedef OSStatus (* SOMLINK somTD_HITable_GetExtent)(HITable *somSelf, Environment *ev,
HIItemIndex* rowIndex,
HIItemIndex* columnIndex);
typedef OSStatus (* SOMLINK somTD_HITable_SetItemImage)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HITable_GetItemImage)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
HIImageRef* imageRefPtr);
typedef OSStatus (* SOMLINK somTD_HITable_SetItemEnabledState)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
HIItemState enableState);
typedef HIItemState (* SOMLINK somTD_HITable_GetItemEnabledState)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex);
typedef OSStatus (* SOMLINK somTD_HITable_SetItemSelectedState)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
HIItemState selectedState);
typedef HIItemState (* SOMLINK somTD_HITable_GetItemSelectedState)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex);
typedef OSStatus (* SOMLINK somTD_HITable_GetSelectedItems)(HITable *somSelf, Environment *ev,
UInt32 requestedCount,
UInt32* actualCount,
HICellCoordinate* cellArray);
typedef OSStatus (* SOMLINK somTD_HITable_AddItemCollectionItem)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
CollectionTag tag,
UInt32 inDataSize,
UInt32* outDataSize,
void* data);
typedef OSStatus (* SOMLINK somTD_HITable_GetItemCollectionItemData)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
CollectionTag tag,
ByteCount dataSizeAllowed,
ByteCount* dataSizeReturned,
void* data);
typedef OSStatus (* SOMLINK somTD_HITable_RemoveItemCollectionItem)(HITable *somSelf, Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
CollectionTag tag);
/*
* -- Typedefs for Inherited Methods
*/
typedef HIEmbeddingPanel* (* SOMLINK somTD_HITable_GetEmbeddingParent)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_InitPanel)(HITable *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HITable_RegisterInterestInAppleEvent)(HITable *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HITable_HasValidContent)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_GetDeepCollectionItemData)(HITable *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HITable_GetWindow)(HITable *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HITable_GetPort)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_GetRefLabel)(HITable *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HITable_GetCollection)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_Init)(HITable *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HITable_Terminate)(HITable *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HITable_Clone)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Release)(HITable *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HITable_GetOwnerCount)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_InitFromAERecord)(HITable *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HITable_WriteToAERecord)(HITable *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HITable_CalculateOptimalSize)(HITable *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HITable_GetBoundingRect)(HITable *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HITable_SetBoundingRect)(HITable *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HITable_SetPosition)(HITable *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HITable_SetSize)(HITable *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HITable_GetUpdateRect)(HITable *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HITable_Enable)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Disable)(HITable *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HITable_IsEnabled)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Show)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Hide)(HITable *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HITable_IsVisible)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_HandleAppleEvent)(HITable *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleActivate)(HITable *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleDeactivate)(HITable *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleNavigation)(HITable *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleMouseDownInContent)(HITable *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleMouseMovedInContent)(HITable *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleMouseStoppedMovingInContent)(HITable *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HITable_HandleMouseUpInContent)(HITable *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HITable_TakeUserInputFocus)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_ReleaseUserInputFocus)(HITable *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HITable_HasUserInputFocus)(HITable *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HITable_CanReleaseUserInputFocus)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_SetUserInputFocusFlags)(HITable *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HITable_GetUserInputFocusFlags)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_SetTitle)(HITable *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HITable_GetTitle)(HITable *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HITable_Draw)(HITable *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HITable_Erase)(HITable *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HITable_Invalidate)(HITable *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HITable_GetDrawingMode)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_SetDrawingMode)(HITable *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HITable_SetBackgroundPattern)(HITable *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HITable_GetBackgroundPattern)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Cut)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Copy)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Paste)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_Clear)(HITable *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HITable_GetClipboardSupportFlags)(HITable *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HITable_AddStateChangeCallback)(HITable *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HITable_RemoveStateChangeCallback)(HITable *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HITable_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HITable_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HITable_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HITable_DrawContent)(HITable *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HITable_EraseContent)(HITable *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HITable_TranslatePoint)(HITable *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HITable_TranslateRect)(HITable *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HITable_StateChanged)(HITable *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HITable_SetClipboardSupportFlags)(HITable *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HITable_Verify)(HITable *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HITable_somInit)(HITable *somSelf);
typedef void (* SOMLINK somTD_HITable_somUninit)(HITable *somSelf);
typedef SOMObject* (* SOMLINK somTD_HITable_somDuplicateReference)(HITable *somSelf);
typedef boolean (* SOMLINK somTD_HITable_somCompareReference)(HITable *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HITable_somRelease)(HITable *somSelf);
typedef void (* SOMLINK somTD_HITable_somFree)(HITable *somSelf);
typedef boolean (* SOMLINK somTD_HITable_somCanDelete)(HITable *somSelf);
typedef SOMClass* (* SOMLINK somTD_HITable_somGetClass)(HITable *somSelf);
typedef corbastring (* SOMLINK somTD_HITable_somGetClassName)(HITable *somSelf);
typedef long (* SOMLINK somTD_HITable_somGetSize)(HITable *somSelf);
typedef boolean (* SOMLINK somTD_HITable_somIsA)(HITable *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HITable_somRespondsTo)(HITable *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HITable_somIsInstanceOf)(HITable *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HITable_somDispatch)(HITable *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HITable_somClassDispatch)(HITable *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HITable_somCastObj)(HITable *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HITable_somResetObj)(HITable *somSelf);
typedef SOMObject* (* SOMLINK somTD_HITable_somPrintSelf)(HITable *somSelf);
typedef void (* SOMLINK somTD_HITable_somDumpSelf)(HITable *somSelf,
long level);
typedef void (* SOMLINK somTD_HITable_somDumpSelfInt)(HITable *somSelf,
long level);
}
#endif /* HITable_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HITable
*/
class HITable : public HIPanel
{
public:
// HITable::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HITable, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HITable);
}
// HITable::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitTable */
OSStatus InitTable(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds,
HIItemStorage* itemStorage)
{
return SOM_ResolveD(this,HITable,HITable,InitTable)
(this,ev,identifier,window,bounds,itemStorage);
}
/* method: AddRows */
OSStatus AddRows(Environment *ev,
HIItemIndex rowIndex,
UInt32 numItems)
{
return SOM_ResolveD(this,HITable,HITable,AddRows)
(this,ev,rowIndex,numItems);
}
/* method: AddColumns */
OSStatus AddColumns(Environment *ev,
HIItemIndex columnIndex,
UInt32 numItems)
{
return SOM_ResolveD(this,HITable,HITable,AddColumns)
(this,ev,columnIndex,numItems);
}
/* method: DeleteRow */
OSStatus DeleteRow(Environment *ev,
HIItemIndex rowIndex)
{
return SOM_ResolveD(this,HITable,HITable,DeleteRow)
(this,ev,rowIndex);
}
/* method: DeleteColumn */
OSStatus DeleteColumn(Environment *ev,
HIItemIndex columnIndex)
{
return SOM_ResolveD(this,HITable,HITable,DeleteColumn)
(this,ev,columnIndex);
}
/* method: GetExtent */
OSStatus GetExtent(Environment *ev,
HIItemIndex* rowIndex,
HIItemIndex* columnIndex)
{
return SOM_ResolveD(this,HITable,HITable,GetExtent)
(this,ev,rowIndex,columnIndex);
}
/* method: SetItemImage */
OSStatus SetItemImage(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
ConstHIImageRef imageRef,
HIAdoptionFlags imageAdoptionFlags)
{
return SOM_ResolveD(this,HITable,HITable,SetItemImage)
(this,ev,rowIndex,columnIndex,imageRef,imageAdoptionFlags);
}
/* method: GetItemImage */
OSStatus GetItemImage(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
HIImageRef* imageRefPtr)
{
return SOM_ResolveD(this,HITable,HITable,GetItemImage)
(this,ev,rowIndex,columnIndex,imageRefPtr);
}
/* method: SetItemEnabledState */
OSStatus SetItemEnabledState(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
HIItemState enableState)
{
return SOM_ResolveD(this,HITable,HITable,SetItemEnabledState)
(this,ev,rowIndex,columnIndex,enableState);
}
/* method: GetItemEnabledState */
HIItemState GetItemEnabledState(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex)
{
return SOM_ResolveD(this,HITable,HITable,GetItemEnabledState)
(this,ev,rowIndex,columnIndex);
}
/* method: SetItemSelectedState */
OSStatus SetItemSelectedState(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
HIItemState selectedState)
{
return SOM_ResolveD(this,HITable,HITable,SetItemSelectedState)
(this,ev,rowIndex,columnIndex,selectedState);
}
/* method: GetItemSelectedState */
HIItemState GetItemSelectedState(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex)
{
return SOM_ResolveD(this,HITable,HITable,GetItemSelectedState)
(this,ev,rowIndex,columnIndex);
}
/* method: GetSelectedItems */
OSStatus GetSelectedItems(Environment *ev,
UInt32 requestedCount,
UInt32* actualCount,
HICellCoordinate* cellArray)
{
return SOM_ResolveD(this,HITable,HITable,GetSelectedItems)
(this,ev,requestedCount,actualCount,cellArray);
}
/* method: AddItemCollectionItem */
OSStatus AddItemCollectionItem(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
CollectionTag tag,
UInt32 inDataSize,
UInt32* outDataSize,
void* data)
{
return SOM_ResolveD(this,HITable,HITable,AddItemCollectionItem)
(this,ev,rowIndex,columnIndex,tag,inDataSize,outDataSize,data);
}
/* method: GetItemCollectionItemData */
OSStatus GetItemCollectionItemData(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
CollectionTag tag,
ByteCount dataSizeAllowed,
ByteCount* dataSizeReturned,
void* data)
{
return SOM_ResolveD(this,HITable,HITable,GetItemCollectionItemData)
(this,ev,rowIndex,columnIndex,tag,dataSizeAllowed,dataSizeReturned,data);
}
/* method: RemoveItemCollectionItem */
OSStatus RemoveItemCollectionItem(Environment *ev,
HIItemIndex rowIndex,
HIItemIndex columnIndex,
CollectionTag tag)
{
return SOM_ResolveD(this,HITable,HITable,RemoveItemCollectionItem)
(this,ev,rowIndex,columnIndex,tag);
}
/*
* -- Inherited methods
*/
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HITable,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HITable,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HITable,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HITable,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HITable,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HITable,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HITable,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HITable,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HITable,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HITable,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HITable,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HITable,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HITable,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HITable,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HITable,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HITable,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HITable,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HITable,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HITable,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HITable,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HITable,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HITable,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HITable,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HITable,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HITable_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HITable_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HITable_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HITable,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HITable,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HITable,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HITable,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HITable,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HITable,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HITable,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HITable,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HITable,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HITable,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HITable,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HITable,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HITable,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HITable,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HITable,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HITable,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HITable,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HITable,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HITable,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HITable,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HITable_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HITable,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HITable,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HITable_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HITable,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HITable,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HITable,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HITable,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HITable,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HITable,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HITable,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HITable */
#endif /* SOM_HITable_xh */